export const option = {
    border: true,
    index: true,
    indexLabel: '#',
    indexWidth: 70,
    stripe: true,
    align: 'center',
    searchMenuSpan: 6,
    labelWidth: 120,
    height: '450px',
    calcHeight: 400,
    dialogWidth: 900,
    menuWidth: 150,
    menuAlign: 'center',
    viewBtnIcon: ' ',
    addBtnIcon: ' ',
    editBtnIcon: ' ',
    delBtnIcon: ' ',
    column: [
        {
            prop: 'id',
            label: 'ID',
            hide: true,
            addDisplay: false,
            editDisplay: false
        },
        {
            prop: 'label',
            label: '字典项名',
            type: 'input',
            overHidden: true,
            minWidth: 60,
            maxlength: 200,
            span: 24,
            search: true,
            rules: [{
                required: true,
                message: '请输入',
                trigger: 'blur'
            }]
        }, {
            prop: 'value',
            label: '字典项值',
            type: 'input',
            overHidden: true,
            minWidth: 60,
            maxlength: 200,
            span: 24,
            search: true,
            rules: [{
                required: true,
                message: '请输入',
                trigger: 'blur'
            }]
        },
        {
            prop: 'sort',
            label: '排序',
            type: 'number',
            precision: 0,
            overHidden: true,
            minWidth: 60,
            maxlength: 200,
            span: 24,
        },
        {
            prop: 'desc',
            label: '描述',
            type: 'input',
            overHidden: true,
            minWidth: 60,
            maxlength: 200,
            span: 24,
        },
    ]
}



